@use 'components/rapid_diffs/constants';
@use 'page_bundles/merge_request' as mr;
@import 'mixins_and_variables_and_functions';

.rd-app {
  --rd-app-sticky-top: calc(#{$calc-application-header-height} + #{mr.$merge-request-sticky-header-height});

  // MR tabs are hidden on small breakpoint
  @include gl-container-width-down(md, panel) {
    --rd-app-sticky-top: calc(#{$calc-application-header-height});
  }
}
